*{
    margin: 0;
    padding: 0px;
    text-decoration: none;
    font-family:Montserrat;
    box-sizing:border-box;
}

body{
    min-height: 100vh;
    /*background-image: linear-gradient(120deg,#3498db,#8e44ad);*/
    background-image: url(../img/bg.jpg);
}

.regist-form{
    width: 500px;
    background: #f1f1f1;
    height: 765px;
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    opacity:0.9;  /*透明度*/
}

.regist-form h1{
    text-align: center;
    margin-bottom: 10px;
}

.txtb{
     border-bottom: 2px solid #adadad;
     color: #adadad;
     position: relative;
     margin: 0 0 25px 0 ;
 }
.checkbb{
    color: #adadad;
     margin: 0 0 25px 0 ;
 }

.txtb input{
    font-size: 15px;
    color: #333;
    border:none;
    width: 100%;
    outline: none;
    background: none;
    padding: 0 5px;
    height: 40px;
}

/*.txtb span::before{*/
/*    content: attr(data-placeholder);*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 30px;*/
/*    color: #adadad;*/
/*    transform: translateY(-50%);*/
/*    z-index: -1;*/
/*    transition: .5s;*/
/*}*/

/*.txtb span{*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 100%;*/
/*    width: 0%;*/
/*    height: 2px;*/
/*    background: linear-gradient(120deg,#3498db,#8e44ad);*/
/*    transition: .5s;*/
/*}*/

.focus + span::before{
    top: -5px;
}
.focus + span::after{
    width: 100%;
}

.logbtn{
    display: block;
    width: 100%;
    height: 50px;
    border: none;
    background: linear-gradient(120deg,#3498db,#8e44ad,#3498db);
    background-size: 200%;
    color: #fff;
    outline: none;
    cursor: pointer;
    transition: .5s;
}

.logbtn:hover{
    background-position: right;
}

.button-text{
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
}